-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update snap_notify
to allow JSX content
#2706
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2706 +/- ##
==========================================
+ Coverage 94.37% 94.38% +0.01%
==========================================
Files 477 477
Lines 10183 10204 +21
Branches 1555 1557 +2
==========================================
+ Hits 9610 9631 +21
Misses 573 573 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but there's a lint error.
Added the
title
,detailedView
andfooterLink
properties toinApp
notifications. This allows snaps to provide expanded views with their notifications. ThedetailedView
property lets snaps return JSX content with a limited subset of components. ThefooterLink
property is optional when providing an expanded view. This content is initially being exposed to populate a modal, but in the future may populate an entire page.